package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 房间信息对象 room
 * 
 * @author 王帅
 * @date 2024-08-24
 */
public class Room extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 房号 */
    @Excel(name = "房号")
    private String roomNumber;

    /** 房间状态（0：在用，1:停用） */
    @Excel(name = "房间状态", readConverterExp = "0=：在用，1:停用")
    private Integer roomStatus;

    /** 房间容量（/人） */
    @Excel(name = "房间容量", readConverterExp = "/=人")
    private Integer roomCapacity;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRoomNumber(String roomNumber) 
    {
        this.roomNumber = roomNumber;
    }

    public String getRoomNumber() 
    {
        return roomNumber;
    }

    public void setRoomStatus(Integer roomStatus) 
    {
        this.roomStatus = roomStatus;
    }

    public Integer getRoomStatus() 
    {
        return roomStatus;
    }

    public void setRoomCapacity(Integer roomCapacity) 
    {
        this.roomCapacity = roomCapacity;
    }

    public Integer getRoomCapacity() 
    {
        return roomCapacity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("roomNumber", getRoomNumber())
            .append("roomStatus", getRoomStatus())
            .append("roomCapacity", getRoomCapacity())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
